package cn.yyt.yytravel.community.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class CommunityVO {
    @ApiModelProperty(value = "Id")
    Long id;
    @ApiModelProperty(value = "用户名")
    String username;
    @ApiModelProperty(value = "头像")
    String imgUrl;
    @ApiModelProperty(value = "景区名")
    String name;
    @ApiModelProperty(value = "community内容")
    String content;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty(value = "图片路径")
    String imgUrls;
    @ApiModelProperty(value = "评分")
    String score;
    @ApiModelProperty(value = "是否关注状态")
    Boolean likeStatue;
}
